package desktop.lan.remote.playfieldmodel;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import desktop.core.playfield.PlayFieldModel;

@SuppressWarnings("serial")
public class PlayFieldModelRemoteImpl extends UnicastRemoteObject implements
		PlayFieldModelRemote {

	private PlayFieldModel playFieldModel;

	public PlayFieldModelRemoteImpl(PlayFieldModel playFieldModel)
			throws RemoteException {
		this.playFieldModel = playFieldModel;
	}

	@Override
	public PlayFieldModel getPlayFieldModel() throws RemoteException {
		return this.playFieldModel;
	}
}